import { http } from '../common/axios_config/axios_config.js'
//获取列表
export const getList = data => http('activityType/list', data, 'GET')

//删除
export const del = data => http('activityType/del', data, 'GET')

//添加或编辑
export const addOrEdit = data => http('activityType/addOrEdit', data, 'POST')

//模糊查询和分页查询
export const listPage = data => http("activityType/listPage",data,"GET")


//批量删除
export const batchDelete = data => http("activityType/batchDelete",data,"POST")

//导出
export const exportActivity = data => http("activityType/export",data,"GET")